package com.redisdemo.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <h3>redisDemo</h3>
 * <p>消息实体类</p>
 *
 * @author gdw
 * @since 2024-06-25 16:25:52
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Message implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer sendId; //发送用户id
    private String sendName;//发送用户姓名
    private Integer receiveId;//接收用户id
    private String receiveName;//接收用户姓名
    private String message; //接收的消息
}
